package com.cn.demo4.mapper;

import com.cn.demo4.entity.NavEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface NavMapper {
    List<NavEntity> findAll(NavEntity navEntity);

    NavEntity findById(Integer id);

    int add(NavEntity navEntity);

    int update(NavEntity navEntity);

    int del(Integer id);

    int getCount(NavEntity navEntity);

    List<NavEntity> getNavModelListForHome();
}
